package com.example.hdx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hdx.entity.ScenicSpots;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ScenicSpotsMapper extends BaseMapper<ScenicSpots> {
    @Select("select * from scenic_spots")
    List<ScenicSpots> getAllScenicSpots();

}
